import { request } from './request';

export async function queryAbout() {
    return request({
        url: '/about',
        method: 'GET'
    });
}

export async function addAbout(data: any) {
    return request({
        url: '/about',
        method: 'POST',
        data,
    });
}
export async function updateAbout(data: any) {
    return request({
        url: `/about/${data._id}`,
        method: 'PUT',
        data,
    });
}



